home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
multip1a
/
frmmain.frm
next >
Wrap
Text File
|
1999-10-21
|
35KB
|
1,086 lines
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmMain
Caption = "Multi-User Rich Text IP Chat"
ClientHeight = 3660
ClientLeft = 60
ClientTop = 345
ClientWidth = 6045
LinkTopic = "Form1"
ScaleHeight = 3660
ScaleWidth = 6045
StartUpPosition = 3 'Windows Default
Begin VB.ListBox lstUsers
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1890
Left = 4890
Sorted = -1 'True
TabIndex = 19
Top = 195
Width = 1095
End
Begin MSWinsockLib.Winsock sckConnect
Index = 0
Left = 6360
Top = 3240
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin RichTextLib.RichTextBox rtbChat
Height = 1890
Left = 75
TabIndex = 18
Top = 195
Width = 4815
_ExtentX = 8493
_ExtentY = 3334
_Version = 393217
Enabled = -1 'True
ReadOnly = -1 'True
ScrollBars = 2
TextRTF = $"frmMain.frx":0000
End
Begin MSComDlg.CommonDialog dlgColors
Left = 6720
Top = 1920
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdColors
Height = 320
Left = 3120
Picture = "frmMain.frx":00C1
Style = 1 'Graphical
TabIndex = 17
Top = 2175
Width = 315
End
Begin RichTextLib.RichTextBox rtbText
Height = 360
Left = 0
TabIndex = 16
Top = 2475
Width = 5400
_ExtentX = 9525
_ExtentY = 635
_Version = 393217
Enabled = -1 'True
TextRTF = $"frmMain.frx":0403
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.CheckBox chkUnderline
Height = 320
Left = 4200
Picture = "frmMain.frx":04C4
Style = 1 'Graphical
TabIndex = 15
Top = 2175
Width = 315
End
Begin VB.CheckBox chkItalic
Height = 320
Left = 3900
Picture = "frmMain.frx":0806
Style = 1 'Graphical
TabIndex = 14
Top = 2175
Width = 315
End
Begin VB.ComboBox cmbFonts
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 10
Sorted = -1 'True
Style = 2 'Dropdown List
TabIndex = 13
Top = 2175
Width = 3000
End
Begin VB.CheckBox chkBold
Height = 320
Left = 3600
Picture = "frmMain.frx":0B48
Style = 1 'Graphical
TabIndex = 12
Top = 2175
UseMaskColor = -1 'True
Width = 315
End
Begin VB.CommandButton cmdConnect
Caption = "Connect"
Height = 405
Left = 5070
TabIndex = 11
Top = 2895
Width = 975
End
Begin VB.TextBox txtIP
Height = 285
Left = 2760
TabIndex = 10
Text = "localhost"
Top = 3360
Width = 2250
End
Begin VB.TextBox txtPort
Height = 285
Left = 360
TabIndex = 8
Text = "400"
Top = 3360
Width = 2055
End
Begin VB.OptionButton optServerClient
Caption = "Client"
Height = 195
Index = 1
Left = 4200
TabIndex = 6
Top = 2995
Value = -1 'True
Width = 735
End
Begin VB.OptionButton optServerClient
Caption = "Server"
Height = 195
Index = 0
Left = 3360
TabIndex = 5
Top = 2995
Width = 855
End
Begin VB.TextBox txtNick
Height = 285
Left = 440
TabIndex = 4
Text = "NickName"
Top = 2940
Width = 2775
End
Begin VB.CommandButton cmdSend
Caption = "Send"
Height = 335
Left = 5400
TabIndex = 2
Top = 2490
Width = 625
End
Begin VB.Frame frmeSep
Height = 135
Left = 0
TabIndex = 1
Top = 2760
Width = 6060
End
Begin VB.Frame frmeChatWindow
Caption = "Chat Window"
Height = 2165
Left = 0
TabIndex = 0
Top = 0
Width = 6045
End
Begin VB.Shape shpGreen
BackColor = &H00008000&
BackStyle = 1 'Opaque
BorderColor = &H00008000&
Height = 255
Left = 5640
Shape = 3 'Circle
Top = 3360
Width = 255
End
Begin VB.Shape shpRed
BackColor = &H000000FF&
BackStyle = 1 'Opaque
BorderColor = &H000000FF&
FillColor = &H00000080&
Height = 255
Left = 5160
Shape = 3 'Circle
Top = 3360
Width = 255
End
Begin VB.Label lblIP
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "IP:"
Height = 195
Left = 2520
TabIndex = 9
Top = 3390
Width = 195
End
Begin VB.Label lblPort
BackStyle = 0 'Transparent
Caption = "Port:"
Height = 255
Left = 0
TabIndex = 7
Top = 3390
Width = 375
End
Begin VB.Line lneSep3
BorderColor = &H80000003&
Index = 1
X1 = 5025
X2 = 5025
Y1 = 2880
Y2 = 3290
End
Begin VB.Line lneSep3
BorderColor = &H00F